package common;

import java.util.TimerTask;

/**
 * A TimerTask that enables the same task to run multiple times
 */
public class WrapperTask extends TimerTask {  
    private final Runnable target;  

    public WrapperTask(Runnable target) {  
        this.target = target;
    }
    
    public void run() {  
        target.run();  
    }  
}